package com.fujimana.rockincat.restree.phase;

import java.util.ArrayList;
import java.util.Collections;
import java.util.List;


public class Lifecycle {
	
	private final static List<Phase> phase;
	
	static {
		List<Phase> list = new ArrayList<Phase>();
		
		list.add(new ContextInitializePahse());
		list.add(new BuidResourceTreePahse());
		list.add(new PrepareRequestPhase());
		list.add(new BindRequestValuePhase());
		list.add(new NegotiationPhase());
		list.add(new InvokeApplicationPahse());
		list.add(new BindResponseValuePhase());
		list.add(new PrepareResponsePhase());
		list.add(new RenderingResponsePhase());
		
		phase = Collections.unmodifiableList(list);
	}
	
	private Lifecycle() {
	}
	
	public static List<Phase> getPhase() {
		return phase;
	}
}
